package org.naivecode.audio.io;

public interface PcmDataProvider {
	/**
	 * Reads PCM as normalized floating point
	 * @param data buffer to hold read data
	 * @param offset offset in data to start writing the read data to
	 * @param length desired number of bytes to read
	 * @return number of bytes read
	 */
	int read(float[] data, int offset, int length);
}
